﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace NOSDC.Pocos
{
    public class Article
    {
        public virtual int ArticleID { get; set; }

        [Required]
        [StringLength(100)]
        public virtual string Title { get; set; }

        [Required]
        public virtual string Story { get; set; }

        public virtual DateTime DatePosted { get; set; }
        public virtual Guid PostedBy { get; set; }
        public virtual string IPAddress { get; set; }

        public virtual int StatusID { get; set; }
        public virtual Status Status { get; set; }

        public virtual IList<Comment> Comments { get; set; }
    }
}
